#ifndef __ENGINE_H
#define __ENGINE_H

#include <d3dx9.h>

class Engine {
public:
	LPDIRECT3DDEVICE9 getVCard() { return g_pd3dDevice; };
	HRESULT InitD3D(HWND hWnd);
	void Cleanup();
	void set_device_states(void);
	D3DVIEWPORT9 GetViewport();

private:
	LPDIRECT3D9             g_pD3D;       // Used to create the D3DDevice
	LPDIRECT3DDEVICE9       g_pd3dDevice; // Our rendering device
	D3DVIEWPORT9            m_viewport;
};

#endif